<!DOCTYPE html>
<html lang="en">
{% load static %}
<head>
    <meta charset="UTF-8">
<script type="text/javascript" src="{% static  'js/jquery-1.11.0.min.js' %}"></script>
    <title>排课</title>
</head>
<script>
var user_info={
    'access_token':'{{ access_token }}',
    'sessionUser':{
        'name':'{{ name }}',
        'userId':'{{ userId }}',
        'passwordState':'{{ passwordState }}',
        'role':{
              'roleCode':'{{ roleCode }}',
              'roleId':'{{ roleId }}'
        }
    }
};
console.log(user_info)
        console.log('-----------')
      window.onmessage = function (e) {
          console.log(user_info, '—————')
          e.source.postMessage({'user_info': user_info}, '*')
          console.log("---------------------")
      }
</script>
<body>
<iframe src="http://test-lms3.hfjy.com:1080/resource/index.html#!/lessonplan/teacher" width="1500" height="800">
</iframe>

</body>

</html>